namespace Atlantis
{
    public class DocumentPresenter : Presenter<IDocumentView>
    {
        public DocumentPresenter(Registry registry)
        {
            base(registry);
        }       

        public void Save(Document document)
        {
			stderr.printf("DocumentPresenter.Save(Document document)\n");
            FileUtils.set_contents(document.FullPath, document.text, -1);
        }

        public void SaveAs(string fileName)
        {

        }
    }
}
